<extend name="Layout:layout_dialog" />
<block name="body_main">
    <form action="{:U('order_add_save')}" method="post" class="xsui-form">
        <fieldset>
            <div class="xsui-form-field">
                <label>用户名：</label>
                {$data.buyer_name}
            </div>
            <div class="xsui-form-field">
                <label>快递单号：</label>
                {$data.express_no}
            </div>
            <div class="xsui-form-field">
                <label>快递运费：</label>
                {$data.delivery_fee} 元
            </div>
            <div class="xsui-form-field">
                <label>商品金额：</label>
                {$data.product_amount}
            </div>
            <div class="xsui-form-field">
                <label>折扣金额：</label>
                {$data.discount_amount}
            </div>
            <div class="xsui-form-field">
                <label>订单金额：</label>
                {$data.order_amount}
            </div>
            <div class="xsui-form-field">
                <label>订单备注：</label>
                {$data.buyer_remark}
            </div>
            <div class="xsui-form-field">
                <label>购物清单：</label>
                <!--<div style="padding:5px 0; color:#F00; font-weight:bold;">共：0 项，0.00 元</div>-->
                <table class="xsui-table-bordered">
                    <tr><th>商品</th><th>数量</th><th>单价</th><th>折扣</th><th>小计</th></tr>
                    <foreach name="list" item="vo">
                        <tr>
                            <td>{$vo.product_name}</td>
                            <td>{$vo.number}</td>
                            <td>{$vo.price}</td>
                            <td>{$vo.discount_amount}</td>
                            <td>{$vo.subtotal}</td>
                        </tr>
                    </foreach>
                </table>
            </div>
        </fieldset>
    </form>    
</block>